package com.job.GaoYuXuan.Homework0705;

/**
 * @author 盖
 * @version 1.0
 * @since 2022-07-05 17:20:43
 */
public class Job0705Student {
    //无参
    String name;
    int math;
    int java;
    int english;
    int web;
    public int sum(int math,int java,int english,int web){
        return math + java + english + web;
    }

    //有参



    public Job0705Student(String name, int math, int java, int english, int web) {
        this.name = name;
        this.math = math;
        this.java = java;
        this.english = english;
        this.web = web;
    }


}